<template>
    <div class="bigList">
        <div class="titleBox">
            <div class="leftbox">
                <div class="titleitem">课外阅读-2</div>
                <div class="ms">自由模式</div>
            </div>

            <div>
                已有0人完成练习，还有1人未完成
            </div>
        </div>


        <div class="listContent">

            <div class="controlsbox">
                <div class="controlsContent">
                    <div class="controlsitem">
                        <img src="@/static/image/tj.png" alt="" srcset="">
                        <div>推荐到学校</div>
                    </div>
                    <div class="controlsitem">
                        <img src="@/static/image/jrtk.png" alt="" srcset="">
                        <div>加入题筐</div>
                    </div>
                </div>

                <div class="controlsContent">
                    <div class="controlsitem">
                        <img src="@/static/image/edit.png" alt="" srcset="">
                        <div>修改</div>
                    </div>
                    <div class="controlsitem">
                        <img src="@/static/image/fb.png" alt="" srcset="">
                        <div>再次发布</div>
                    </div>
                    <div class="controlsitem">
                        <img src="@/static/image/del.png" alt="" srcset="">
                        <div>删除</div>
                    </div>
                </div>
            </div>


            <div class="listBox">
                <div class="listTile">
                    <div class="titleName" style="width: 5%;">
                        序号
                    </div>
                    <div class="titleName" style="width: 65%;">
                        大题名称
                    </div>
                    <div class="titleName" style="width: 10%;">
                        首答率
                    </div>
                    <div class="titleName" style="width: 10%;">
                        排行榜
                    </div>
                    <div class="titleName" style="width: 10%;">
                        答题分析
                    </div>
                </div>

                <div class="listtable">
                    <div class="listitem" v-for="(item, index) in 5" :key="index" @click="handleBigdetail">
                        <div style="width: 5%;">
                            {{ index + 1 }}
                        </div>
                        <div class="question" style="width: 65%;">
                            <img src="@/static/image/tx.png" alt="" srcset="">
                            <div class="title">
                                还原单词
                            </div>
                            <div class="desc">
                                1A Unit9 Lesson17 说一说 PartC 新 
                            </div>
                        </div>

                        <div style="width: 10%;">
                            100%
                        </div>
                        <div style="width: 10%;">
                            -
                        </div>
                        <div style="width: 10%;color: #3FB9E2;">
                            查看
                        </div>
                    </div>

                </div>

            </div>

        </div>

    </div>
</template>
<script>
export default {
    data() {
        return {}

    },
    methods: {
        handleBigdetail(){
            this.$router.push({ name: "bigListDetail" })
        },
    }
}
</script>
<style scoped lang="scss">
.bigList {
    width: 100%;
    padding-top: 22px;

    .titleBox {
        font-family: PingFang SC, PingFang SC;
        font-weight: 400;
        font-size: 12px;
        color: #333333;
        line-height: 14px;
        display: flex;
        align-items: center;

        .leftbox {
            display: flex;
            align-items: center;
            margin-right: 20px;

            .titleitem {
                font-weight: 550;
                font-size: 14px;
                color: #333333;
            }

            .ms {
                font-weight: 500;
                font-size: 12px;
                color: #3FB9E2;
                line-height: 20px;
                margin-left: 5px;
            }
        }
    }

    .listContent {
        width: 100%;
        background: #FFFFFF;
        border-radius: 4px 4px 4px 4px;
        padding: 16px;
        box-sizing: border-box;
        margin-top: 21px;

        .controlsbox {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;

            .controlsContent {
                display: flex;
                align-items: center;

                .controlsitem {
                    display: flex;
                    align-items: center;
                    font-family: PingFang SC, PingFang SC;
                    font-weight: 500;
                    font-size: 12px;
                    color: #3FB9E2;
                    line-height: 20px;
                    margin-right: 20px;
                    cursor: pointer;

                    img {
                        width: 32px;
                        height: 32px;
                    }
                }
            }
        }

        .listBox {
            margin-top: 18px;

            .listTile {
                display: flex;
                align-items: center;
                height: 36px;


                .titleName {
                    font-family: PingFang SC, PingFang SC;
                    font-weight: 400;
                    font-size: 12px;
                    color: rgba(0, 0, 0, 0.4);
                    line-height: 36px;
                }
            }

            .listtable {
                .listitem {
                    display: flex;
                    align-items: center;
                    font-family: PingFang SC, PingFang SC;
                    font-weight: 400;
                    font-size: 12px;
                    color: rgba(0, 0, 0, 0.9);
                    line-height: 20px;
                    height: 48px;
                    border-top: 1px solid #E7E7E7;
                    cursor: pointer;

                    .question {
                        display: flex;
                        align-items: center;

                        img {
                            width: 18.99px;
                            height: 18.99px;
                        }

                        .title {
                            margin: 0 10px;
                        }

                        .desc {
                            color: #4BA840;
                        }
                    }
                }
                .listitem:hover{
                    background-color: #EAF9E8;
                }
            }
        }
    }
}
</style>